package com.gameShare.mappers.misc

import com.gameShare.entity.po.captcha.CaptchaQuestion
import org.apache.ibatis.annotations.Param

interface  CaptchaMapper {

    fun selectRandomQuestion() : CaptchaQuestion

    fun selectAnswerByQuestion(@Param("questionId") questionId : String, len : Int): List<String>

    fun selectRandomErrorAnswer(@Param("questionId") questionId : String, len: Int) : List<String>
}